package com.sporadic.client.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@TableName(value = "dishes")
public class Dishes {
    @TableId(type = IdType.AUTO,value = "dishes_id")
    private Integer dishesId;
    private String dishesName;
    private BigDecimal dishesPrice;
    @TableField(value = "dishes_typeId")
    private Integer dishesTypeId;
    private Integer dishesStats;
    private String dishesDes;
    private String dishesImage;
    @TableField(value = "dishes_merchant")
    private Integer dishesMerchant;
    private double dishesZk;
    private Integer dishesInventory;
    private List<DishesType> dishesList;
}
